home *** CD-ROM | disk | FTP | other *** search
/ Shareware Grab Bag / Shareware Grab Bag.iso / 007 / advbas40.arc / WARNING.TXT < prev    next >
Text File  |  1987-12-13  |  3KB  |  60 lines

  1.  
  2. WARNING!
  3.      Microsoft's QuickBASIC compilers versions 3.0 - 4.0 have bugs in them
  4.      that affect ADVBAS users!
  5.  
  6.  
  7.  
  8. QuickBASIC 3.0:
  9.      If you compile a program using ADVBAS in the programming environment
  10.      with the compile-to-BCOM30 option, the results will be unreliable at
  11.      best.  If you need to generate stand-alone programs, do not use the
  12.      programming environment with compile-to-BCOM30.  Instead, compile
  13.      from the command line.  Check your QuickBASIC manual for more
  14.      information if you are unfamiliar with that method.  A typical syntax
  15.      will be:
  16.  
  17.      QB filename/O;
  18.  
  19.      with a letter "O", not the number zero.  You may need additional
  20.      switches besides the "/O", depending on your program.
  21.  
  22.  
  23.  
  24. QuickBASIC 4.0:
  25.      If you compile a program using ADVBAS in the programming environment
  26.      to an EXE file, your program will be much larger than it should be,
  27.      if it is correctly created at all.  QB4 generates the wrong syntax
  28.      for linking the file-- a frankly ludicrous mistake by Microsoft.
  29.      Instead of using the environment to compile to EXE files, use the
  30.      stand-alone BC.EXE compiler from the command line.  A typical syntax
  31.      will be:
  32.  
  33.      BC filename;
  34.      LINK filename/EX,,NUL,ADVBAS
  35.  
  36.      You can also use the standard switches with BC to produce different
  37.      output: "/O" for stand-alone (as opposed to BRUN-dependent), "/D" for
  38.      debug, "/ZI" for CodeView, and so forth.  Check your QB manual for
  39.      more details.
  40.  
  41.      Also note that Microsoft has changed the internal handling of static
  42.      arrays (not a bug as such, but certainly a nuisance), which
  43.      means that GETSCREEN and PUTSCREEN will not work with QuickBASIC 4.0.
  44.      Other array routines will work with the stand-alone version of the
  45.      compiler, BC.EXE, but not in the programming environment provided by
  46.      QB.EXE (due to a bug in QB.EXE).  So, you will be able to use all
  47.      array routines except GETSCREEN and PUTSCREEN, but only in programs
  48.      compiled using BC.EXE, not in the programming environment.  It is
  49.      possible to get around this problem, which I have done with the
  50.      commercial version of the library, ProBas.  However, the changes to
  51.      the routines are fairly drastic, and I can't put them in ADVBAS
  52.      without violating my contract with HCSI.  So, if you really need to
  53.      use the array routines in the QB4 environment, get yourself a copy of
  54.      ProBas (see the PROBAS.DOC file).  It's guaranteed to be a more
  55.      effective solution than trying to get Microsoft to fix the problem!
  56.  
  57.      Microsoft has also done something really bizarre to communications.
  58.      None of the ADVBAS comm routines will function properly under either
  59.      of the QuickBASIC 4.0 compilers.  I'm still investigating this one.
  60.